/*
 * Create Author  : jinpeng.chen
 * Create Date    : 2018-10-16
 * Project        : designpattern-learn
 * File Name      : HelloController.java
 *
 * Copyright (c) 2010-2018 by 18Birdies, LLC.
 * All Rights Reserved.
 *
 */
package com.charles.designpattern;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 功能描述:  <p>
 *
 * @author : jinpeng.chen <p>
 * @version 1.0 2018-10-16
 * @since designpattern-learn 1.0
 */
@Controller
public class HelloController {
  @RequestMapping("/hello")
  @ResponseBody
  String home() {
    return "Hello ,spring boot!";
  }
}
